<div class="main">
    <div class="stars"></div>
    <div class="content">
        <div [ngSwitch]="currentClock">
            <app-clock *ngSwitchCase="'analog'"></app-clock>
            <app-flip-clock *ngSwitchCase="'digital'"></app-flip-clock>
        </div>
        <button (click)="toggleClock()" class="toggle-button">切换时钟</button>
        <div class="progress-container">
            <app-counter></app-counter>
        </div>
    </div>
    <div class="footer">
        <div class="contact-info">
            <span>邮箱：534519082@qq.com</span>
            <span>QQ：534519082</span>
        </div>
        <a class="icp-button" href="http://beian.miit.gov.cn/">蜀ICP备2024101653号</a>
    </div>
</div>